clear;
clc;

 datasetsAio = { 'COIL20_1440n_1024d_20c', 'JAFFE_213n_676d_10c',...
                'UMIST_575n_644d_20c', 'YaleB_2414n_1024d_38c',...
                'PIE_Pose27_2856n_1024d_68c', 'Lung_203n_3312d_5c'};

 candiAlgs = {'AllFea', 'MaxVar', 'LapScore', 'MCFS', 'LGD',...
    'LLEScore', 'OurMethod'};


for i1 =1:length(datasetsAio)
    datasets = {datasetsAio{i1}};     
    exp_settings = [];
    exp_settings.FeaNumCandi = [5:5:50];
    exp_settings.nKmeans = 20;
    [FeaNumCandi_aio, res_gs_aio, res_aio_aio, res_gs_ps_aio] = run_clustering_exp_func_Optimal(datasets, candiAlgs, exp_settings);
end